
<template>
    <span
        :class="props.scope.publishFlag == 1 ? 'labelIcon-primary' : 'labelIcon-gary'">{{ props.scope.publishFlag == 1 ? '上架' : '下架' }}</span>
</template>
<script setup>
import { onMounted } from 'vue'
const props = defineProps({ scope: { default: '' } })
onMounted(() => {
    // console.log(props, 'props')
})
</script>